import java.util.Scanner;
public class Shuzu01
{
public static void main(String[] args)
{
System.out.println("请输入五个整数：");
int[] a=new int [5];
Scanner scan=new Scanner(System.in);
for(int i=0;i<5;i++)
{
a[i]=scan.nextInt();
}
for(int i=0;i<5;i++)
{
for(int j=0;j<4-i;j++)
{
if(a[j]>a[j+1])
{
int term;
term=a[j];
a[j]=a[j+1];
a[j+1]=term;
}
}
}
for(int b:a)
{
System.out.print(b);


}
}
}